From: Jasper St. Pierre Date: Tue, 26 Feb 2013 01:33:37 +0000 (-0500) Subject: workspace: Remove more dead code X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4321 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ada70dd68366c794faf71fa254701caf91b24f54;p=gnome-shell.git workspace: Remove more dead code By the time zoomToOverview is called, an animation will always be in progress. https://bugzilla.gnome.org/show_bug.cgi?id=694469 --- diff --git a/js/ui/workspace.js b/js/ui/workspace.js index 2bbe56a2b..67f3b939d 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -1296,10 +1296,7 @@ const Workspace = new Lang.Class({ // Animate the full-screen to Overview transition. zoomToOverview : function() { // Position and scale the windows. - if (Main.overview.animationInProgress) - this._positionWindows(WindowPositionFlags.ANIMATE | WindowPositionFlags.INITIAL); - else - this._positionWindows(WindowPositionFlags.INITIAL); + this._positionWindows(WindowPositionFlags.ANIMATE | WindowPositionFlags.INITIAL); }, // Animates the return from Overview mode